package com.library.management.domain.borrow.vo;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class BorrowVO {
    
    private Long id;
    
    private Long userId;
    
    private Long bookId;
    
    // 用户信息
    private String username;
    
    private String realName;
    
    private String phone;
    
    private String email;
    
    // 图书信息
    private String isbn;
    
    private String title;
    
    private String author;
    
    private String publisher;
    
    private String category;
    
    // 借阅信息
    private LocalDateTime borrowDate;
    
    private LocalDateTime returnDate;
    
    private LocalDateTime actualReturnDate;
    
    private Integer status;
    
    private String statusText; // 状态文本
    
    private String remarks;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
    
    // 计算字段
    private Boolean isOverdue; // 是否逾期
    
    private Long overdueDays; // 逾期天数
} 